<?php
/**
 * Created by PhpStorm.
 * User: cy
 * Date: 18-2-8
 * Time: 上午11:20
 */
\Factory\Factory::createMysql();//制造一个mysql数据库对象
$mysql=\Factory\Register::get('mysql');
$mysql->add();
$mysql->delete();
$mysql->update();
$mysql->select();